package com.xique.door.biz.service;

import com.xique.common.core.web.domain.AjaxResult;
import com.xique.door.bean.request.permissionGroup.PermissionGroupAddRequest;
import com.xique.door.bean.request.permissionGroup.PermissionGroupDeleteRequest;

/**
 * @author Administrator
 */
public interface IPermissionGroupBizService {

    /**
     * 添加权限组
     * @author shd
     * @date 2021/7/13 14:59
     * @param request
     * @return com.ruoyi.common.core.domain.AjaxResult
     */
    AjaxResult addGroup(PermissionGroupAddRequest request);

    /**
     * 删除权限组
     * @param request
     * @return
     */
    AjaxResult deleteGroup(PermissionGroupDeleteRequest request);

    /**
     * 改变权限组状态
     * @author shd
     * @date 2021/7/7 10:33
     * @param groupId 权限组ID
     * @param status 状态
     * @return com.ruoyi.common.core.domain.AjaxResult
     */
    AjaxResult changeStatus(Long groupId, String status);
}
